package com.xiaoq.order.entity;

/**
 * @author xinpeng created on 16/9/22-下午1:59.
 *
 * 选购的商品对象
 */
public class ShoppingItem {
    private String spuCode;
    private String spuName;
    private String skuCode;
    private String specifications;//多个规格用分号";"隔开
    private String imageUrlOfSKU;
    private Long price;         //分
    private Long recommendPrice; //分
    private Long discountPrice;  //分
    private int number;
    private int promotionState; //当前促销类型: 0原始价格,1微团购,2限时折扣,3店长推荐
    private Long travelDate;  //旅行时间
    private Integer reviewState;    //评论状态: 0未评论,1已评论
/*
    //---------------以下是设定的微团购信息-----------------
    /*private double groupPurchasePrice; //团购价格
    private int minimumQuantityRequired4OneGroup; //一个团的最低购买人数
    private int maxmumQuantityOfGroups;  //一个SKU的最高开团数
    
    private Long startTime; //开始时间
    private Long endTime; //结束时间
    private boolean isRestrictedPurchaing; //是否限购
    private int maxcountOfPurchasing; //每人的最大购买数量*/
    //---------------以上是设定的微团购信息-----------------
	public String getSpuCode() {
		return spuCode;
	}
	public void setSpuCode(String spuCode) {
		this.spuCode = spuCode;
	}
	public String getSpuName() {
		return spuName;
	}
	public void setSpuName(String spuName) {
		this.spuName = spuName;
	}
	public String getSkuCode() {
		return skuCode;
	}
	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}
	public String getSpecifications() {
		return specifications;
	}
	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}
	public String getImageUrlOfSKU() {
		return imageUrlOfSKU;
	}
	public void setImageUrlOfSKU(String imageUrlOfSKU) {
		this.imageUrlOfSKU = imageUrlOfSKU;
	}
	public Long getPrice() {
		return price;
	}
	public void setPrice(Long price) {
		this.price = price;
	}
	public Long getRecommendPrice() {
		return recommendPrice;
	}
	public void setRecommendPrice(Long recommendPrice) {
		this.recommendPrice = recommendPrice;
	}
	public Long getDiscountPrice() {
		return discountPrice;
	}
	public void setDiscountPrice(Long discountPrice) {
		this.discountPrice = discountPrice;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public int getPromotionState() {
		return promotionState;
	}
	public void setPromotionState(int promotionState) {
		this.promotionState = promotionState;
	}
	public Long getTravelDate() {
		return travelDate;
	}
	public void setTravelDate(Long travelDate) {
		this.travelDate = travelDate;
	}
	public Integer getReviewState() {
		return reviewState;
	}
	public void setReviewState(Integer reviewState) {
		this.reviewState = reviewState;
	}

}
